package com.jic.market.mapper;
import java.util.List;
import com.jic.market.model.entity.PromotionWarning;
public interface PromotionWarningMapper {
	/**
	 * PROMOTION_WARNING插入数据
	 * @param promotionWarning 入参实体类
	 */
	int insert (PromotionWarning promotionWarning);

	/**
	 * PROMOTION_WARNING插入数据
	 * @param promotionWarning 入参实体类
	 */
	int insertSelective (PromotionWarning promotionWarning);

	/**
	 * PROMOTION_WARNING根据表对象数据修改数据
	 * @param promotionWarning 入参实体类
	 */
	int updateByPrimaryKey (PromotionWarning promotionWarning);

	/**
	 * PROMOTION_WARNING根据表对象数据修改数据
	 * @param promotionWarning 入参实体类
	 */
	int updateByPrimaryKeySelective (PromotionWarning promotionWarning);

	/**
	 * PROMOTION_WARNING根据id删除数据
	 * @param promotionWarning 入参实体类
	 */
	int deleteByPrimaryKey (PromotionWarning promotionWarning);

	/**
	 * PROMOTION_WARNING根据主键查询数据
	 * @param promotionWarning 入参实体类
	 */
	PromotionWarning selectByPrimaryKey (PromotionWarning promotionWarning);

	/**
	 * PROMOTION_WARNING根据主键查询数据
	 * @param promotionWarning 入参实体类
	 */
	List<PromotionWarning> listPageBySelective (PromotionWarning promotionWarning);

	/**
	 * PROMOTION_WARNING查询数据
	 * @param promotionWarning 入参实体类
	 */
	List<PromotionWarning>  selectBySelective (PromotionWarning promotionWarning);

	}
